package com.icehand.canal.handler;

import com.alibaba.otter.canal.protocol.CanalEntry;
import org.springframework.lang.NonNull;

/**
 * @author icehand
 */
public interface CanalHandler {
    void handle(@NonNull CanalEntry.EventType type, CanalEntry.RowData data);
}
